package com.moon.repository;

import com.moon.domain.Book;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

public interface BookRepository {

    Flux<Book> findAll();

    Mono<Book> findById(String id);

    Mono<Book> save(Book book);

    Mono<Void> deleteById(String id);
}